package com.wang.designpattern.adapter.mvc;

public class Client {
    public static void main(String[] args) {
        System.out.println("MVC");
        //Controller controller = new HttpController();
        Controller controller = new AnnotationController();
        DispatchServlet dispatchServlet = new DispatchServlet();
        dispatchServlet.setController(controller);
        dispatchServlet.doDispatch();
    }
}
